package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zorroxu
 * @since 2022-05-10
 */
@Data
public class Words implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 单词拼写
     */
    private String word;

    /**
     * 单词翻译
     */
    private String wordTranslation;

    /**
     * 英式音标


     */
    private String ukPhonetic;

    /**
     * 英式读音地址

     */
    private String ukPronounce;

    /**
     * 美式音标

     */
    private String usPhonetic;

    /**
     * 美式读音地址

     */
    private String usPronounce;

    /**
     * 例句
     */
    private String example;

    /**
     * 例句翻译
     */
    private String exampleTranslation;

    /**
     * 详情包括第三人称等


     */
    private String transshape;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;


    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


    @TableField(fill = FieldFill.INSERT)
    private Long createUser;


    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;


    @TableLogic
    @TableField(fill = FieldFill.UPDATE)
    //是否删除
    private Integer isDeleted;


}
